package com.atguigu.gulimall.zzmycanal.config;

import com.alibaba.otter.canal.protocol.CanalEntry;
import com.xpand.starter.canal.annotation.CanalEventListener;
import com.xpand.starter.canal.annotation.ListenPoint;

@CanalEventListener
public class SmsListening {
    @ListenPoint(schema = "gulimall_pms", table = {"sms_coupon"})
    public void sms_coupon(CanalEntry.RowData rowData) {
        System.err.println("sms_coupon");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_pms", table = {"sms_coupon_spu_category_relation"})
    public void sms_coupon_spu_category_relation(CanalEntry.RowData rowData) {
        System.err.println("sms_coupon_spu_category_relation");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_pms", table = {"sms_coupon_spu_relation"})
    public void sms_coupon_spu_relation(CanalEntry.RowData rowData) {
        System.err.println("sms_coupon_spu_relation");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_pms", table = {"sms_seckill_promotion"})
    public void sms_seckill_promotion(CanalEntry.RowData rowData) {
        System.err.println("sms_seckill_promotion");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_pms", table = {"sms_seckill_sku_relation"})
    public void sms_seckill_sku_relation(CanalEntry.RowData rowData) {
        System.err.println("sms_seckill_sku_relation");
        ShowObj.showData(rowData);
    }
    @ListenPoint(schema = "gulimall_pms", table = {"sms_spu_bounds"})
    public void sms_spu_bounds(CanalEntry.RowData rowData) {
        System.err.println("sms_spu_bounds");
        ShowObj.showData(rowData);
    }

}
